package com.evaluationSystem.mapper;

import com.evaluationSystem.entity.Dimension;
import com.evaluationSystem.entity.Questionnaire;
import com.evaluationSystem.entity.User;
import com.evaluationSystem.entity.vo.QuestionnaireVo;

import java.util.List;
import java.util.Map;

public interface DimensionMapper {
    List<Dimension> getDimension(String questionId);

    Integer getDimensionCount(String questionId);

    User findByUsername(String principal);

    List<Questionnaire> getQuestion(List<String> questionId);

    void insertBathDimension(List<Dimension> dimensionList);

    void insertDimension(Dimension dimensionList);
    void insertDimensions(Dimension dimensionList);

    void updateDimension(Dimension dimension);

    List<QuestionnaireVo> getQuestionList(User user);

    void deleteDimension(Map<String, Object> map);
}
